from flask import Flask
from ParkInfo import RequestParks


app = Flask(__name__)


@app.route('/')
def hello_world():
    return 'Hello World!'

@app.route('/lvyz')
def lvyz():
    return RequestParks(True)


@app.route('/lvyz_newRequest')
def lvyz_newRequest():
    return RequestParks(False)

if __name__ == '__main__':
    app.run(host='0.0.0.0', port=5000)
